package cn.weiyang.controller;

/**
 * 系统异常类
 * Created by Administrator on 2017/7/25.
 */
public class ServiceException extends RuntimeException{
    private Errcode errcode;

    public ServiceException(Errcode errcode) {
        this.errcode = errcode;
    }

    public Errcode getErrcode() {
        return errcode;
    }

    public void setErrcode(Errcode errcode) {
        this.errcode = errcode;
    }
}
